<?php
declare(strict_types=1);

namespace Dreamcat\ConfigClient\Nacos\Impl;


use Dreamcat\ConfigClient\Nacos\ConfigDecodeInterface;

/**
 *
 * @author -
 */
class JsonDecoder implements ConfigDecodeInterface
{
    /**
     * @inheritDoc
     */
    public function decode(string $configString): array
    {
        return json_decode($configString, true);
    }
}

# end of file
